probability of compound events